package com.computercourse.manage_course.dao;

import com.computercourse.framework.domain.course.CoursePic;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @param null
 * @author Feng.Yuan
 * @description
 * @date 2020/1/30 10:47 下午
 * @return
 */
public interface CoursePicRepository extends JpaRepository<CoursePic, String> {

    /**
     * 当返回值大于0，表示删除成功的记录数
     */
    long deleteByCourseid(String courseId);
}
